﻿using System;
using System.Globalization;

namespace PublicDomain.Framework.UnitTesting.DataDrivenTest
{
    public class DataDrivenTestInfo
    {
        public string TestId { get; set; }

        public string TestDescription { get; set; }

        public bool Ignore { get; set; }

        public string ToConsoleText()
        {
            var result = String.Format(
                CultureInfo.CurrentCulture,
                "Test ID: {0}\r\nTest Description: {1}\r\nIs Ignored: {2}",
                this.TestId,
                this.TestDescription,
                this.Ignore);

            return result;
        }
    }
}
